﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading;

namespace l1cs.server.model.skill
{
    public class L1SkillDelay
    {
        private static Logger _log = Logger.getLogger( typeof( L1SkillDelay ).FullName );

        private L1SkillDelay() { }

        //class SkillDelayTimer
        //{
        //    private int _delayTime;
        //    private L1Character _cha;

        //    public SkillDelayTimer( L1Character cha, int time )
        //    {
        //        _cha = cha;
        //        _delayTime = time;
        //    }
        //public void run( object state )
        //{
        //    ( (L1Character)state ).setSkillDelay( false );
        //}
        //}

        //public void onSkillUse( L1Character cha, int time )
        //{
        //    cha.setSkillDelay( true );
        //    //GeneralThreadPool.getInstance().schedule(new SkillDelayTimer(cha, time), time);
        //    new Timer( new TimerCallback( run ), null, time, Timeout.Infinite );
        //}
    }
}
